﻿using Rio.Workflow.Runtime;
using Rio.Workflow.Runtime.Enums;


namespace Rio.Workflow.Information
{
    public class InformationAction : WorkflowActionContext
    {
        /// <summary>
        /// Executes the specified WKF context.
        /// </summary>
        /// <param name="context">The context.</param>
        /// <param name="request">The request.</param>
        /// <returns></returns>
        public override ActionResult ActionExecuted(WorkflowContextBase context, ActionRequest request)
        {
            return ActionResult.Executed;
        }

        /// <summary>
        /// Executes all.
        /// </summary>
        /// <param name="context">The context.</param>
        /// <param name="request">The request.</param>
        /// <returns></returns>
        public override ActionResult ActionExecutedAll(WorkflowContextBase context, ActionRequest request)
        {
            return ActionResult.Executed;
        }

        /// <summary>
        /// Actions the executing.
        /// </summary>
        /// <param name="wkfContext">The WKF context.</param>
        /// <param name="request">The request.</param>
        /// <returns></returns>
        public override ActionResult ActionExecuting(WorkflowContextBase wkfContext, ActionRequest request)
        {
            return ActionResult.Executed;
        }

        /// <summary>
        /// Actions the executing all.
        /// </summary>
        /// <param name="context">The context.</param>
        /// <param name="request">The request.</param>
        /// <returns></returns>
        public override ActionResult ActionExecutingAll(WorkflowContextBase context, ActionRequest request)
        {
            return ActionResult.Executed;
        }
    }
}
